﻿
@section Styles{
    <style>
        .main {
        }

        .pageNum {
            padding: 10px;
            border: 1px solid red;
            background: gray;
            color: yellow;
        }

        .current {
            color: red;
        }

        .portlet {
            /*background: url("../../../../css/admin/img/bakeground1.png") no-repeat;*/
        }
    </style>
}


@section Scripts{
    @*<script src="~/js/common/common.pagination.js"></script>
        <script>
            $(function () {
                var pageination = $.pagination({
                    mainClass: 'main',
                    currentPageClass: 'current',
                    id: 'test',
                });
                pageination.set(6, 11);
                function set(i) {
                    if (i > 100) {
                        return;
                    }
                    pageination.set(i, 14);
                    setTimeout(function () { set(i + 1) }, 1000);
                }
                set(1);
            })
        </script>*@
    <script>
        $(function () {
            $('form').attr('action', '/ApiUser/UploadFace');
        })
    </script>
}
<div class=" portlet">
    @*<img src="~/css/admin/img/bakeground2.png" alt="欢迎页" id="bakeground" class="bakeground" width="1260px" height="698px" />*@
    <img src="~/css/admin/img/shouye.jpg"  alt="欢迎页"  id="bakeground" class="img-responsive center-block"  width="100%" height="100%"/>
</div>
<!-- BEGIN FORM PORTLET -->
@*<div class="portlet">
        <div class="portlet-title">
            <div class="caption">
                <i class="fa fa-reorder"></i>
            </div>
        </div>
        <div class="portlet-body form">

          @using (Html.BeginForm("CreateOrEditNeed", "Api", FormMethod.Post, new { area = "", @class = "form-horizontal", enctype = "multipart/form-data" }))
            {
                <div class="form-body">
                    <div class="form-group">
                        <label class="col-md-3 control-label">
                            file
                        </label>
                        <div class="col-md-7">
                            <input type="file" name="face" />
                        </div>
                    </div>
                    <input name="token" value="xie40token" />
                </div>
                <div class="form-actions fluid">
                    <div class="col-md-offset-3 col-md-9">
                        <button type="submit" class="btn btn-success">保存</button>
                        <a href="@HttpContext.Current.Request.UrlReferrer" class="btn btn-default">取消</a>
                    </div>
                </div>
            }

        </div>
    </div>*@
